package com.choosefine.it.basedata.model.dto;

import com.choosefine.it.base.dto.PageDTO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 
 * @desc 用户搜索dto
 * @author 戚羿辰
 * @Date 2017/01/07
 */
@ApiModel(value = "租户搜索dto", description = "戚羿辰")
public class FindUserDTO extends PageDTO {

	private static final long	serialVersionUID	= -2621496725714811685L;

	@ApiModelProperty(value = "租户编号", dataType = "String")
	private String				userCode;

	@ApiModelProperty(value = "用户角色", dataType = "Integer")
	private Integer				userRole;

	@ApiModelProperty(value = "账号名", dataType = "String")
	private String				userName;

	@ApiModelProperty(value = "身份证号", dataType = "String")
	private String				idcardNum;

	@ApiModelProperty(value = "用户类型（0个人，1公司）", dataType = "Integer")
	private Integer				userType;

	@ApiModelProperty(value = "租户名称", dataType = "String")
	private String				unitName;

	@ApiModelProperty(value = "是否启用", dataType = "Integer")
	private Integer				isValid;

	@ApiModelProperty(value = "是否已绑定", dataType = "Integer")
	private Integer				isBind;

	@ApiModelProperty(value = "联系号码", dataType = "String")
	private String				phone;
	
	@ApiModelProperty(value = "租户名和编码的组合", dataType = "String")
	private String				unitNameAndCode;

	public String getUserCode() {
		return userCode;
	}

	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}

	public Integer getUserRole() {
		return userRole;
	}

	public void setUserRole(Integer userRole) {
		this.userRole = userRole;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getIdcardNum() {
		return idcardNum;
	}

	public void setIdcardNum(String idcardNum) {
		this.idcardNum = idcardNum;
	}

	public Integer getUserType() {
		return userType;
	}

	public void setUserType(Integer userType) {
		this.userType = userType;
	}

	public String getUnitName() {
		return unitName;
	}

	public void setUnitName(String unitName) {
		this.unitName = unitName;
	}

	public Integer getIsValid() {
		return isValid;
	}

	public void setIsValid(Integer isValid) {
		this.isValid = isValid;
	}

	public Integer getIsBind() {
		return isBind;
	}

	public void setIsBind(Integer isBind) {
		this.isBind = isBind;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getUnitNameAndCode() {
		return unitNameAndCode;
	}

	public void setUnitNameAndCode(String unitNameAndCode) {
		this.unitNameAndCode = unitNameAndCode;
	}

}
